package edu.sctu.liangyuxiang.day20150510.text3;

import edu.sctu.liangyuxiang.day20150510.test2.*;

/**
 * Created by user06 on 2015/5/10.
 */
public class Main {
    public static void main(String[] args) {
        TextOne[] textone = new TextOne[3];

        textone[0] = new TextOne();
        textone[0].setName("张三");
        textone[0].setSex("男");
        textone[0].setAge(21);
        textone[0].setNumber(140610);

        textone[1] = new TextOne();
        textone[1].setName("李四");
        textone[1].setSex("男");
        textone[1].setAge(22);
        textone[1].setNumber(140611);

        textone[2] = new TextOne();
        textone[2].setName("王二");
        textone[2].setSex("男");
        textone[2].setAge(19);
        textone[2].setNumber(140612);

        TextTwo texttwo = new TextTwo();
        texttwo.output(textone);

    }
}
